

<tagLib name="html" />
<include file="../Public/header" />
<div id="wrap"> <include file="../Public/top" />
    <div id="content">
        <div class="mainarea">
            <div class="maininner">
                
                
                <div class="bdrcontent">


                    <form id="phpform" method="post" action="__URL__/update" class="formtable" onsubmit="return $.formValidator.pageIsValid('1')">
                        <input type = "hidden" value="{.id}" name="id" />
                        <table width="100%" cellpadding="0" cellspacing="0" class="formtable">

                            <tr>
                                <td width="10%">照片的ID：</td>
                                <td><input name="pid" type="text" style="width:260px;" id="pid" value="{$vo.pid}"  /></td>
                            </tr>
                            <tr>
                                <td>评论的内容：</td>
                                <td>
                                    <textarea name="content" style="width:360px; height:100px;">{$vo.content}</textarea>
                                </td>
                            </tr>
                            <tr>
                                <td>&nbsp;</td>
                                <td><input type="submit" value="提交" class="submit" />
                                    <input name="reset" type="reset" value="重置" class="submit" />
                                <input name="button" type="button" value="返回" onclick="javascript:history.go(-1);"  class="submit" /></td>
                            </tr>
                        </table>
                    </form>
                </div>
                <br />
            </div>
        </div>
    <include file="../Public/menu" /> </div>
<include file="../Public/footer" /> </div>
</body>
</html>

<script type="text/javascript">

    $(document).ready(function(){
        $.formValidator.initConfig({autotip:true,tidymode:true,onerror:function(msg){alert(msg)}});
        // $("#pid").formValidator({onshow:"请输入pid",onfocus:"pid必须输入",oncorrect:"恭喜你,通过了"}).inputValidator({min:1,onerror:"你输入的pid长度不正确,请确认"});
        // $("#content").formValidator({onshow:"请输入content",onfocus:"content必须输入",oncorrect:"恭喜你,通过了"}).inputValidator({min:1,onerror:"你输入的content长度不正确,请确认"});
        // $("#userid").formValidator({onshow:"请输入userid",onfocus:"userid必须输入",oncorrect:"恭喜你,通过了"}).inputValidator({min:1,onerror:"你输入的userid长度不正确,请确认"});
        // $("#cTime").formValidator({onshow:"请输入cTime",onfocus:"cTime必须输入",oncorrect:"恭喜你,通过了"}).inputValidator({min:1,onerror:"你输入的cTime长度不正确,请确认"});
    });

</script>